import request from '@/utils/request'

// 查询极客侠企微申领物品接口列表
export function listWorkWeixinReceiving(query) {
  return request({
    url: '/system/workWeixinReceiving/list',
    method: 'get',
    params: query
  })
}

// 查询极客侠企微申领物品接口详细
export function getWorkWeixinReceiving(id) {
  return request({
    url: '/system/workWeixinReceiving/' + id,
    method: 'get'
  })
}

// 新增极客侠企微申领物品接口
export function addWorkWeixinReceiving(data) {
  return request({
    url: '/system/workWeixinReceiving',
    method: 'post',
    data: data
  })
}

// 修改极客侠企微申领物品接口
export function updateWorkWeixinReceiving(data) {
  return request({
    url: '/system/workWeixinReceiving',
    method: 'put',
    data: data
  })
}

// 删除极客侠企微申领物品接口
export function delWorkWeixinReceiving(id) {
  return request({
    url: '/system/workWeixinReceiving/' + id,
    method: 'delete'
  })
}
